package com.clock.common.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "alipay.easy")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AliPayConfig {

    //请求地址
    private String protocol;

    //请求网关
    private String gatewayHost;

    //签名类型 RSA2
    private String signType;

    //支付宝的AppId
    private String appId;

    //应用私钥
    private String appPrivateKey;

    //支付宝公钥
    private String alipayPublicKey;

    //支付宝通知本地的接口完整地址
    private String notifyUrl;

}
